<tagLib name="html" />
<include file="Public:header" />
	<div style="width:100%; height:15px;color:#000;margin:0px 0px 10px;">
	  <div style="float:left;"><a href="{YICMS::U('Index/stat')}" target="main"><b>控制面板首页</b></a>&nbsp;&raquo;&nbsp;标签列表<a href="{YICMS::U('Newslist/addTag')}" style="color:red;font-weight:bold;">&nbsp;&raquo;&nbsp;添加新标签</a></div>
	</div>
	<table cellspacing="1" cellpadding="4" width="100%" align="center" style="border: 0 none !important; border-collapse: separate !important;empty-cells: show;margin-bottom: 0px;">
		<tr class="header" align="center">
			<td  width="10%" class="center">标签排序</td>
			<td  width="20%" class="center">标签名字</td>
			<td  width="40%" class="center">链接地址</td>
			<td  width="15%" class="center">编辑</td>
			<td  width="15%" class="center">删除</td>
		</tr>
	</table>
	<ul id="list">
		<if condition="$list neq NULL">
			<volist name="list" id="vo">
				<li style="list-style:none;">
					<table  id="table1" cellspacing="1" cellpadding="4" width="100%" align="center" style="border: 0 none !important; border-collapse: separate !important;empty-cells: show;margin-bottom: 0px;"> 
						<tr align="center" class="smalltxt">
							<td width="10%" class="altbg1 center">{YICMS:$vo.taxis}</td>
							<td width="20%" class="altbg2 center">{YICMS:$vo.name|msubstr=###,0,25}</td>
							<td width="40%" class="altbg1 center">
							<if condition="empty($vo['url'])">
								空
							<else />
								{YICMS:$vo.url}
							</if>
							</td>
							<td width="15%" class="altbg2 center"><a href="{YICMS::U('Newslist/editTag?id='.$vo['id'])}" style="background:url(../Public/Images/admin/edit.png) no-repeat center center;padding:0px 20px;">&nbsp;</a></td>
							<td width="15%" class="altbg1 center"><a href="{YICMS::U('Newslist/delTag?id='.$vo['id'])}" onclick="return confirm('提示：您确定要删除吗？不可恢复！')" style="background:url(../Public/Images/admin/remove.png) no-repeat center center;padding:0px 20px;">&nbsp;</a></td>
						</tr>
					</table>
				</li>
			</volist>
		<else />
			<li>
				<table  id="table1" cellspacing="1" cellpadding="4" width="100%" align="center" style="border: 0 none !important; border-collapse: separate !important;empty-cells: show;margin-bottom: 0px;"> 
					<tr align="center" class="smalltxt">
						<td class="altbg1" style="text-align:center;font-weight:bold;color:#E01558;padding:10px 0px;">暂时没有回复!^_^</td>
					</tr>
				</table>
			</li>
		</if>	
	</ul>
	<div class="page">{YICMS:$page}</div>
<br/>
<br/>

	<center><tt>这里的tag标签将会在用户发帖的时候匹配帖子的内容，如果有相应的标签，将会被匹配出来，自动加上链接。</tt></center>
<br/>
<br/>
<include file="Public:footer" />